package com.ztmg.common.constant;


public class CommonConstants {
    public final static Integer SUCCESS = 0;

    public static final String WATER_TOKEN =  "waterToken";

    //用户id
    public static final String CONTEXT_KEY_USER_ID = "currentUserId";
    //用户名
    public static final String CONTEXT_KEY_USERNAME = "currentUserName";
    //用户手机号
    public static final String CONTEXT_KEY_USER_PHONE = "currentUserPhone";
    //用户token
    public static final String CONTEXT_KEY_USER_TOKEN = "currentUserToken";
    //用户角色
    public static final Integer USER_TYPE_SUPPLIER = 1;
    public static final Integer USER_TYPE_SELLER = 2;
    //用户认证类型
    public static final String CONTEXT_KEY_CERTIFICATION_TYPE = "currentUserCertificationType";
    public static final String JWT_KEY_USER_ID = "userId";
    public static final String JWT_KEY_NAME = "name";

    /**数据状态**/
    //表status状态 1-正常 2-禁用 9-删除
    public static final Integer TABLE_STATUS_1 = 1;
    public static final Integer TABLE_STATUS_2 = 2;
    public static final Integer TABLE_STATUS_9 =9;
    /**订单相关**/
    //订单状态 1-待支付 2-已支付 3-配送中 4-完成 5-取消 6-退款 9-删除
    public static final Integer WATER_ORDER_STATUS_1 = 1;
    public static final Integer WATER_ORDER_STATUS_2 = 2;
    public static final Integer WATER_ORDER_STATUS_3 = 3;
    public static final Integer WATER_ORDER_STATUS_4 = 4;
    public static final Integer WATER_ORDER_STATUS_5 = 5;
    public static final Integer WATER_ORDER_STATUS_6 = 6;
    public static final Integer WATER_ORDER_STATUS_9 = 9;

    /**二维码路径 **/

    public static final String  QRCODE_LOGO_URL = "C:/Users/Administrator/Desktop/QRcode/logo/Desktop/logo.jpg";
    public static final String  QRCODE_LOGO_URL_1 = "C:/Users/Administrator/Desktop/QRcode/logo/Desktop/logo1.jpg";
    public static final String  QRCODE_LOGO_URL_2 = "C:/Users/Administrator/Desktop/QRcode/logo/Desktop/logo2.jpg";
    public static final String  QRCODE_GENERAL_URL = "";
    public static final String  QRCODE_LINK_WEIXI_URK = "http://wwy.xjtu.edu.cn/subscribe?code=";
    public static final String  QRCODE_GENERAL_ZIP_URL = "C:\\Users\\Administrator\\Desktop\\QRcode\\myTest.zip";
    public static final String  QRCODE_GENERAL_ZIP_FILE_URL = "C:\\Users\\Administrator\\Desktop\\QRcode\\QRCodeImage";

    /**数据通信相关**/
    //一卡通
    public static final String  PAY_DES_KEY = "MmE1MGZmMjZkMjA5NDU4YmI3MmU3ODVi";//支付平台分配3des加密密钥
    public static final String PRIVATE_KEY = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAL9u/fhunnIFicQQd/dFKWtM+8tO+g/XQtBBzQI5h/3BqGTwvjQJaxqq+6dKxxLSR5QdU+fipiR9Nm7WbLkq9Aya3u2CT3X3bgBqT4LtKxXon5WE8RwtedMow1XD+T/OBvL4lcal5H0KHGvnKrxtzYHWhroYBMnD0Mnp6Ix6taQhAgMBAAECgYEArB0ztKhoRqXaDnCsG6KQMcv+WvW/+HwWsz1mAAkPzsPODisxJ4IMTObL6cZeo/pxpqaTqNnrfMUjKpYZHIaU8itbFqDF+6NdXUPgzppek6i+XtolaZJLsujaozcDXOXUmJeQAZmc/bTyym2mFQcE2tmnES99Tcxb1osM4FQxcpECQQD5q5KFualCVijI8asgIiBLxKHNXrnX9GustVB/9OfA8bb8HoC/ORHux1v+SJCCQvmthtTnw5DUYkHkyXG5KVLFAkEAxElys0wBAKI0KEj9qwvGToaAncSMeEOd2ea38gbJOWD+mq/YFTluQKev52vk5cj02ALilWjB61hTg+5xWD0xrQJAe6zR2AwwG/wyF9gevLwq4110CRdzV9ZrwBHQ3pGie6FA04MIo7DRgUaf+0ZWzy/+Hkc8D9KAW7SQj5R6EQ63QQJARypeBLWss18by/NSzT4SowvO++R0DXJue79Tt9NQB5asGMdib6eH2rcxZpVOwyUN6Hd7UTJPBJXcibvcqmJdbQJAA5iptviyGUQAou9tYSyL1/DB559u0CIBe/IEH7sgQZlEUNXdFdRlDN+CkMFzKc2VQdu9HQc5yXcatMHTuGy74g==";//支付平台分配私钥文件
    public static final String KEY_TYPE = "SHA1withRSA";

    //php接口
    public static final String SEND_MESSAGE_URL = "http://wwy.xjtu.edu.cn/api/wx.msg/refundmsg.html";
    public static final String PHP_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCRloa+hgeoulAfNwXSD45U0z7" +
            "7gBe59Jtvf6bX2pJuCg5CO1r4DRtoatNaNCupxX9+CwPjcaJ6aEgaHpEWkYz0lTA" +
            "f7m22ipmbWG5FK7ToqVTnkAKEtBYQrgTQpx0MaXXebPwFS28R/K6npD8B2UjWpes" +
            "mv5kbkr3L8hd7ypnnwIDAQAB";

}
